<!DOCTYPE html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Amphora Home</title>

<%@include file="/resources/components/baseIncl/base/css.inc"%>
<%@include file="/resources/components/baseIncl/base/js.inc"%>

</head>
<body class="bodyBG">
	<div id="wrapper">
		<div id="Heading">Amphora</div>
		<div id="content">
			<form action="/ClientAction?lg" method="POST">
				<input type="text" name="username" placeholder="Username">
				<br><br>
				<input type="password" name="password" placeholder="Password">
				<br><br>
				<input type="submit" name="login" value="Login">
			</form>
			<c:if test="${message != null}">
				<div id="dialogError">
					<i class="fa fa-warning">&nbsp;</i><c:out value="${message}"></c:out>
				</div>
			</c:if>
			<div>
				<br>
				<a href="/RegisterAction?view">Register Now</a>
				<br>
				<a href="/">Forgot your password?</a>	
			</div>
		</div>
	</div>
</body>
</html>